package com.roncoo.ysq.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.roncoo.ysq.entity.Adv;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yuanshuaiqiang
 * @since 2021-03-24
 */
public interface IAdvService extends IService<Adv> {

    IPage<Adv> findAll(Page page, Adv adv);

    List<Adv> findByStatus();

    String getPath(MultipartFile file);
}
